<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table>
    <thead>
    <tr>
        <th>book_name</th>
        <th>book_detail</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="book: ${book}">
        <td th:text="${book.book_name}"></td>
        <td th:text="${book.book_detail}"></td>

    </tr>
    <form action="/findBookid" method="get">
        <label for="book_id">book_id:</label>
        <input type="text" id="book_id" name="book_id" required> <br>
        <button type="submit">提交</button>
    </form>


    </tbody>
</table>
</body>
</html>